Fixed bugs resulting from moving constructors