 	/// - parameter name: The name of the desired parameter
 	/// - throws: `DatabaseError`
 	public func bind<T: DatabaseValueConvertible>(value: T, toParameter name: String) throws {
-		try bind(value: value.toDatabaseValue(), toParameter: name)
+		try bind(value: value.databaseValue(), toParameter: name)
 	}
 
 	/// Bind a series of values to SQL parameters

}

extension NSNumber: DatabaseValueConvertible {
	public func toDatabaseValue() -> DatabaseValue {
		switch CFNumberGetType(self as CFNumber) {
		case .sInt8Type, .sInt16Type, .sInt32Type, .charType, .shortType, .intType,
		     .sInt64Type, .longType, .longLongType, .cfIndexType, .nsIntegerType:

	/// - parameter index: The index of the desired parameter
	/// - throws: `DatabaseError`
	public func bind<T: DatabaseValueConvertible>(value: T, toParameter index: Int) throws {
		try bind(value: value.databaseValue(), toParameter: index)
	}

	/// Bind a value to a named SQL parameter
