Cannot call super inside define method