Pass self as the last argument to the function