gl2: prepare for asset sharing; See #28