Fix method calling.
Add first entity flag.
Fix entry.