Abstract class support. Doctrine inheritance guessing.
Fix CS and tests.