Use Integer for serverWeight property. fixes #1