Generate helper methods that accept Hash