Fix for mapping private properties on base types