undo accidental deletion of types method in 922a6e18e