Improved assert messages in the get methods