eliminate constructor functions for s3 objects