Controllers: remove mutable defaults from function definitions