Remove useless attribute creation