special attributes moved into nested class