Added support for port type checker to be a function
Added anonymous component creation.