Fix for alias method being called again on reload in dev environment