compute: Add compute subclass