Small library that allows you to invoke the specified action when object is of particular type.