Make method a slot