Removed a runtime hack for checking types.