Minor fixes to Vala API