def Parameters(heartbeat=0, hostname=NotImplemented, password=None, port=
    5672, username=None, virtual_host='/'):
    """Connection parameters with sensible defaults."""
    return {'heartbeat': heartbeat, 'hostname': hostname, 'password':
        password, 'port': int(port), 'userid': username, 'virtual_host':
        virtual_host}
