Fixed prop handling of functions