Directly pass functions for single-method interfaces