Removal of CGRect and CGSize for cross platform support (encoded in a string)