Removed references in constructors to make GCC&&Clang happy