Expose Interface for function nodes
Refactor tests