Changed arguments into property and fixed compiler warnings.