Changes in method parser buildObject and in definition parser buildObject