Implemented support for extern types (userdata etc)