Changing compile functions to match the new jade methods