Fixed compilation issue.
Added the availibility to use ObjectRepresentation for internal usage.