Chnaged Frame to export the class directly.