Optimizations made to Frame.class