Add mocking of function properties.