Attribute for specifying direction should come right after @param.