Moved fake classes to outer scope