How does it behave when using sub classes?