Fix misc issues in abstract classes