Class methods is called as one function