Correct prototype method declaration for _getElements action