Imported missing 'func' method