Added construct and hasInstance for bound functions.