In function definitions of the form table_name:function_name(), if table_name is table1_name, the entire definition is not captured as a function definition by the syntax highlighting and is not added to the function list for the script. Example:
function Class2Name:foobar()
end