Switched form method_missing to define_method