Excludes abstract classes from flow types