Move function to property