Fixed function syntax to have parameter types. Closes #4.