allMethods function is renamed to more appropriate methods.