Fix fake classes to work with isinstance checks. Closes #19.