Limitation is: a function with a space before the keyword function is detected as a method of the latest detected class