Fixed function params to match interface hamleModel