BasePort: add 'function' to the list of valid data types
Merge pull request #168 from djdeath/missing-data-type

BasePort: add 'function' to the list of valid data types