Support for adding types from within ruby