patch encapsule placement: found a bug registering the {:.class:}