Cleanup Frame class