Convert entities