Changed core class field declarations and added frame opening.