Add custom object storage

@gogregor Please review.