Added direction as valid connection attribute