Inline changes + base attribute

Removed excessive inlining.
Moved common attribute values into Attribute type.
Removed dependencies on flywheel.