Added comments for initAttributes and you can now declare ENUM like a function.