Style changes to curry (Issue #4)