You might want to update this line of documentation as well. As a class method, it's a bit harder to return anything other than a constant.