Added a check for global function naming and added check for methods starting with a capital letter.