Move feature_type definition into ContentBase and fix layout bug