Move functions to instances