Added extension methods for long and float.