Added initial support for 'view modes' and 'inline editing'.