Turn to classmethod.