Updated version number to 0.5.0beta.