Change type of method