Module for handling runtime type, based on IOC but without cruft.