avoiding generating methods that not appears on params