Added more useful assert messages