Initial implementation of `bind-class`