Bug fix for proper subclassing
Nicer warning when not require is missing