Add proper argument to metaprogramming method