Implement entity attribute inheritance thanks to @joneslee85