Require must go before import for dynamically generated classes