Added and updated copyright headers. Added some missing Flow types. Removed an invalid prop-types import.