Extract and expose a method