Added fallback to Object check if spec type isn't built-in type
0.3.1