'getStatement' and 'isMethodOrConstructor' were modified to consider the container of an element which is a 'Model' element.