Pass and curry helper functions, less compilation