self parameter on methods

A very tiny fix to make rust not complain about the missing 'self' parameter