stripped down cglib integration to bare minimum