Change back to inheritance for id because of default constructors