Added toString to some Core API classes